package com.example.service;

import java.util.List;

import com.example.model.Song;

public interface SongService {

	public void save(Song song);

	public void update(Song song);

	public void delete(int id);

	public Song getDetailById(int id);

	public List<Song> findAll();
	
	public Object querySongListPaged(Song song, Integer page, Integer pageSize);
	
	public List<Song> querySongListByName(String name);
	
	public void saveSongTransactional(Song song);

}
